home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Corel Gallery (Macintosh)
/
Corel Gallery - Macintosh Version.bin
/
Corel GALLERY
/
Corel GALLERY.rsrc
/
CODE_48_•Init.txt
< prev
next >
Wrap
Text File
|
1994-04-29
|
26KB
|
473 lines
# near model CODE resource
# jump table entries: 20480-20481 (2 of them)
export_2560:
export_2561:
00000000 48E7 7FF8 movem.l -[A7], D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4
00000004 49FA 01AE lea.l A4, [PC + 0x1AE /* 000001B4, value 0x1A08, cstring "" */]
00000008 302C 0004 move.w D0, [A4 + 0x4]
0000000C 5340 subq.w D0, 1
0000000E 6704 beq +0x6 /* 00000014 */
00000010 70FF moveq.l D0, 0xFFFFFFFF
00000012 6032 bra +0x34 /* 00000046 */
label00000014:
00000014 264D movea.l A3, A5
00000016 97D4 sub.l A3, [A4]
00000018 2F0B move.l -[A7], A3
0000001A 2F14 move.l -[A7], [A4]
0000001C 6100 014E bsr +0x150 /* 0000016C */
00000020 202C 0008 move.l D0, [A4 + 0x8]
00000024 4874 0800 pea.l [A4 + D0]
00000028 2F0B move.l -[A7], A3
0000002A 6100 0030 bsr +0x32 /* 0000005C */
0000002E 504F addq.w A7, 8
00000030 202C 000C move.l D0, [A4 + 0xC]
00000034 4874 0800 pea.l [A4 + D0]
00000038 2F0B move.l -[A7], A3
0000003A 2F0D move.l -[A7], A5
0000003C 6100 00D2 bsr +0xD4 /* 00000110 */
00000040 4FEF 000C lea.l A7, [A7 + 0xC]
00000044 7000 moveq.l D0, 0x00
label00000046:
00000046 4CDF 1FFE movem.l D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4, [A7]+
0000004A 4E75 rts
0000004C 8009 or.b D0, A1
0000004E 5F44 subq.w D4, 7
00000050 4154 chk.w D0, [A4]
00000052 4149 chk.w D0, A1
00000054 4E49 trap 9
00000056 5400 addq.b D0, 2
00000058 0000 0000 ori.b D0, 0x0
fn0000005C:
0000005C 226F 0004 movea.l A1, [A7 + 0x4]
00000060 206F 0008 movea.l A0, [A7 + 0x8]
00000064 48E7 1800 movem.l -[A7], D3,D4
label00000068:
00000068 7601 moveq.l D3, 0x01
0000006A 7200 moveq.l D1, 0x00
0000006C 1218 move.b D1, [A0]+
0000006E 2401 move.l D2, D1
00000070 0241 000F andi.w D1, 0xF
00000074 660A bne +0xC /* 00000080 */
00000076 6100 0044 bsr +0x46 /* 000000BC */
0000007A 2200 move.l D1, D0
0000007C 6724 beq +0x26 /* 000000A2 */
0000007E 6002 bra +0x4 /* 00000082 */
label00000080:
00000080 D241 add.w D1, D1
label00000082:
00000082 0242 00F0 andi.w D2, 0xF0
00000086 6608 bne +0xA /* 00000090 */
00000088 6100 0032 bsr +0x34 /* 000000BC */
0000008C 2400 move.l D2, D0
0000008E 6002 bra +0x4 /* 00000092 */
label00000090:
00000090 E64A lsr D2.w, 3
label00000092:
00000092 D3C2 add.l A1, D2
00000094 2801 move.l D4, D1
label00000096:
00000096 12D8 move.b [A1]+, [A0]+
00000098 5384 subq.l D4, 1
0000009A 66FA bne -0x4 /* 00000096 */
0000009C 5383 subq.l D3, 1
0000009E 66F2 bne -0xC /* 00000092 */
000000A0 60C6 bra -0x38 /* 00000068 */
label000000A2:
000000A2 4CDF 0018 movem.l D3,D4, [A7]+
000000A6 4E75 rts
000000A8 8010 or.b D0, [A0]
000000AA 756E moveq.l D2, 0x6E
000000AC 636F bls +0x71 /* 0000011D */
000000AE 6D70 blt +0x72 /* 00000120 */
000000B0 7265 moveq.l D1, 0x65
000000B2 7373 moveq.l D1, 0x73
000000B4 5F77 6F72 6C64 0000 7000 subq.w [[A7 + 0x6C640000] + 0x7000], 7
// begin alternate branch 000000BC-000000BE
fn000000BC:
000000BC 7000 moveq.l D0, 0x00
// end alternate branch 000000BC-000000BE
fn000000BC: // (misaligned)
000000BE 1018 move.b D0, [A0]+
000000C0 6A42 bpl +0x44 /* 00000104 */
000000C2 0800 0006 btst.b D0, 0x6
000000C6 6734 beq +0x36 /* 000000FC */
000000C8 0800 0005 btst.b D0, 0x5
000000CC 6720 beq +0x22 /* 000000EE */
000000CE 0800 0004 btst.b D0, 0x4
000000D2 670A beq +0xC /* 000000DE */
000000D4 61E6 bsr -0x18 /* 000000BC */
000000D6 2600 move.l D3, D0
000000D8 61E2 bsr -0x1C /* 000000BC */
000000DA C143 exg D0, D3
000000DC 4E75 rts
label000000DE:
000000DE 1018 move.b D0, [A0]+
000000E0 E180 asl D0, 8
000000E2 1018 move.b D0, [A0]+
000000E4 E180 asl D0, 8
000000E6 1018 move.b D0, [A0]+
000000E8 E180 asl D0, 8
000000EA 1018 move.b D0, [A0]+
000000EC 4E75 rts
label000000EE:
000000EE 0200 001F andi.b D0, 0x1F
000000F2 E180 asl D0, 8
000000F4 1018 move.b D0, [A0]+
000000F6 E180 asl D0, 8
000000F8 1018 move.b D0, [A0]+
000000FA 4E75 rts
label000000FC:
000000FC 0200 003F andi.b D0, 0x3F /* '?' */
00000100 E180 asl D0, 8
00000102 1018 move.b D0, [A0]+
label00000104:
00000104 4E75 rts
00000106 8006 or.b D0, D6
00000108 6765 beq +0x67 /* 0000016F */
0000010A 745F moveq.l D2, 0x5F
0000010C 726C moveq.l D1, 0x6C
0000010E 0000 222F ori.b D0, 0x2F /* '/' */
// begin alternate branch 00000110-0000011C
fn00000110:
00000110 222F 0004 move.l D1, [A7 + 0x4]
00000114 226F 0008 movea.l A1, [A7 + 0x8]
00000118 206F 000C movea.l A0, [A7 + 0xC]
// end alternate branch 00000110-0000011C
fn00000110: // (misaligned)
00000112 0004 226F ori.b D4, 0x6F /* 'o' */
00000116 0008 206F ori.b A0, 0x6F /* 'o' */
0000011A 000C 7401 ori.b A4, 0x1
// begin alternate branch 0000011C-0000011E
label0000011C:
0000011C 7401 moveq.l D2, 0x01
// end alternate branch 0000011C-0000011E
label0000011C: // (misaligned)
0000011E 7000 moveq.l D0, 0x00
label00000120:
00000120 1018 move.b D0, [A0]+
00000122 670C beq +0xE /* 00000130 */
00000124 6A26 bpl +0x28 /* 0000014C */
00000126 0880 0007 bclr.b D0, 0x7
0000012A E188 lsl D0, 8
0000012C 1018 move.b D0, [A0]+
0000012E 601C bra +0x1E /* 0000014C */
label00000130:
00000130 1018 move.b D0, [A0]+
00000132 6724 beq +0x26 /* 00000158 */
00000134 6A0E bpl +0x10 /* 00000144 */
00000136 E188 lsl D0, 8
00000138 1018 move.b D0, [A0]+
0000013A E188 lsl D0,